package com.java.learn;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class FileCreate {
		public static void main(String[] args) {	 
			try (BufferedReader br = new BufferedReader(new FileReader("C:\\testing.txt")))
			{	 
				String sCurrentLine;
	 
				while ((sCurrentLine = br.readLine()) != null) {
					System.out.println(sCurrentLine);
				}
	 
			} catch (IOException e) {
				e.printStackTrace();
			} 
	 
		}
	}
